<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <f:view contentType="text/html">
        <h:head>
            <f:facet name="first">
                <meta http-equiv="X-UA-Compatible" content="EmulateIE8" />
                <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
                <title>#{messages["system.name.title"]}</title>
                <link rel="shortcut icon" href="#{request.contextPath}/img/logo.ico" />
            </f:facet>

			<h:outputStylesheet library="css" name="portal.css" />
			
			<script language="javascript" src="#{request.contextPath}/resources/script/preload.js"></script>
			<script language="javascript" src="#{request.contextPath}/resources/script/sino.portal.util.js"></script>
			<script language="javascript" src="#{request.contextPath}/resources/script/validate/jquery.validate.js"></script>
			<script language="javascript" src="#{request.contextPath}/resources/script/validate/jquery.metadata.js"></script>
			<script language="javascript" src="#{request.contextPath}/resources/script/validate/jquery.validate.locate.zh.js"></script>
			
			<!-- 自定义脚本区 -->
			<script type="text/javascript" src="#{request.contextPath}/ckeditor/ckeditor.js" ></script>
			
        </h:head>


        <h:body id="pageBody">
        
            <p:layout fullPage="true" >

				<!-- 导航 -->
                <p:layoutUnit id="portalNavi" position="north" size="104" styleClass="ui-state-active">
					<ui:include src="includes/portal/portal-navigation.xhtml" />
                </p:layoutUnit>

				<!-- 日志 -->
                <p:layoutUnit id="portalLog" position="south" size="18">
                    <ui:include src="includes/portal/portal-logbar.xhtml" />
                </p:layoutUnit>

				<!-- 视图 -->
                <p:layoutUnit id="portalObject" position="west" size="200" styleClass="portal-objectView-layout" resizable="true" collapsible="true" header="#{messages['portal.layout.navigation.label']}" minSize="200" maxSize="400">
                    <ui:include src="includes/portal/portal-objectView.xhtml"/>
                </p:layoutUnit>

				<!-- 主编辑区 -->
                <p:layoutUnit id="center" position="center">
                    <ui:include src="includes/portal/portal-mainView.xhtml"/>
                </p:layoutUnit>

            </p:layout>
            
            <!-- 后台 -->
		    <!-- 加载模板 -->
	    	<ui:include src="includes/misc/loadingMask.xhtml" />
	    	<!-- 弹出窗口 -->
	    	<ui:include src="includes/portal/portal-winSet.xhtml" />
	    	<!-- 皮肤窗口 -->
	    	<ui:include src="includes/misc/themeMenu.xhtml" />

        </h:body>

    </f:view>
</html>

